package cn.stimd.spring.beans.factory.config;

import cn.stimd.spring.beans.BeansException;

/**
 * Created by Stimd
 * 项目地址：https://gitee.com/stimd/spring-wheel
 * 公众号：Java编程探微
 */
public interface DestructionAwareBeanPostProcessor extends BeanPostProcessor{
    void postProcessBeforeDestruction(Object bean, String beanName) throws BeansException;

    boolean requiresDestruction(Object bean);
}
